# -*- coding: utf-8 -*-
# @author okumura@laurus.co.jp

from google.appengine.ext import db
from gaeo.model import BaseModel, SearchableBaseModel
from model.pigeon import Pigeon

class Pigeonto(BaseModel):
    to_user = db.UserProperty()
    read_at = db.DateTimeProperty()
    status = db.StringProperty(choices=['Sent','Draft'])
    post_at = db.DateTimeProperty(auto_now_add=True)

Pigeonto.belongs_to(Pigeon)
